package com.feri.project.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Topic {

    private Integer id;


    private String name;


    private String info;


    private Integer flag;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date releasetime;


    public Integer getId() {
        return id;
    }


    public void setId(Integer id) {
        this.id = id;
    }


    public String getName() {
        return name;
    }


    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }


    public String getInfo() {
        return info;
    }


    public void setInfo(String info) {
        this.info = info == null ? null : info.trim();
    }


    public Integer getFlag() {
        return flag;
    }


    public void setFlag(Integer flag) {
        this.flag = flag;
    }


    public Date getReleasetime() {
        return releasetime;
    }


    public void setReleasetime(Date releasetime) {
        this.releasetime = releasetime;
    }
}